<template>
  <view class="content">
    <view>index</view>
    <u-list>
      <u-list-item v-for="(file, index) in fileList" :key="index">
        <u-cell :title="file.name" :label="file.type"></u-cell>
      </u-list-item>
    </u-list>
  </view>
</template>

<script setup>
import { ref } from "vue";

const fileList = ref([
  { name: "Document1.docx", type: "文档" },
  { name: "Image1.png", type: "图片" },
  { name: "Presentation1.pptx", type: "演示文稿" },
]);
</script>

<style scoped>
.content {
  padding: 20px;
}
</style>
